package com.punai.externalccb.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * externalccb对象 eco_lmmdetail
 *
 * @author zxw
 * @date 2023-04-10
 */
public class EcoLmmdetail extends BaseEntity {

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer lmmdetailid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer bqitemid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer resourceid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal quantity;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer reltype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer fxflag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer relationid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal cbprice;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setLmmdetailid(Integer lmmdetailid) {
        this.lmmdetailid = lmmdetailid;
    }

    public Integer getLmmdetailid() {
        return lmmdetailid;
    }

    public void setBqitemid(Integer bqitemid) {
        this.bqitemid = bqitemid;
    }

    public Integer getBqitemid() {
        return bqitemid;
    }

    public void setResourceid(Integer resourceid) {
        this.resourceid = resourceid;
    }

    public Integer getResourceid() {
        return resourceid;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setReltype(Integer reltype) {
        this.reltype = reltype;
    }

    public Integer getReltype() {
        return reltype;
    }

    public void setFxflag(Integer fxflag) {
        this.fxflag = fxflag;
    }

    public Integer getFxflag() {
        return fxflag;
    }

    public void setRelationid(Integer relationid) {
        this.relationid = relationid;
    }

    public Integer getRelationid() {
        return relationid;
    }

    public void setCbprice(BigDecimal cbprice) {
        this.cbprice = cbprice;
    }

    public BigDecimal getCbprice() {
        return cbprice;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setStagetype(String stagetype) {
        this.stagetype = stagetype;
    }

    public String getStagetype() {
        return stagetype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("lmmdetailid", getLmmdetailid())
                .append("bqitemid", getBqitemid())
                .append("resourceid", getResourceid())
                .append("quantity", getQuantity())
                .append("reltype", getReltype())
                .append("fxflag", getFxflag())
                .append("relationid", getRelationid())
                .append("cbprice", getCbprice())
                .append("proId", getProId())
                .append("stagetype", getStagetype())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
